package com.cskaoyan.service;

import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * @author stone
 * @date 2022/04/25 09:50
 */
@Data
//@Component(value = "userService")
//@Component("userService") //组件id = userService
@Component //组件id = userServiceImpl
public class UserServiceImpl implements UserService{

    @Override
    public void sayHello() {

        System.out.println("hello world");
    }
}
